package com.hlz.lib.effectivejava.chapter2;

import java.util.HashMap;

/**
 * @author Hongliang Zhu
 * @create 2023-08-22 22:57
 */
public class Cycle {
    private final int result;
    private static final Cycle self = new Cycle();
    private static final int randomNumber = (int) (Math.random() * 100);

    public Cycle() {
        System.out.println("randomNumber:" + randomNumber);
        result = randomNumber - 10;
    }

    public static void main(String[] args) {
        System.out.println(self.result);

        HashMap<Object, Object> objectObjectHashMap = new HashMap<>();

        objectObjectHashMap.keySet();

    }
}
